<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="assets/js/jquery.min.js"></script>
<script>
    var content = [];
    var array1 = [10,20];
    var array2 = [20,30];
    var array3 = [50,100];
    content.push(array1)
    content.push(array2)
    content.push(array3)
    $.ajax(
        {
            type: 'POST',
            url: "/count/lectureNumberOfPeople",
            dataType:"json",
            contentType:"application/json",
            data:JSON.stringify({"array":content}),
            success: function (data) {
                alert(JSON.stringify(data));
            },error: function () {
            alert("error")
        }
        }
    )

</script>
</body>
</html>